#include<iostream>
using namespace std;

struct Point{
    void setXY(double a, double b){
        x = a; y = b;
    }

    void display(){
        cout << x << "\t" << y << endl;
    }

    double x,y;
};

int main(){

    Point a;
    a.setXY(10,34);
    a.display();
    
    cout << a.x << "\t" << a.y << endl;

    return 0;
}

